package com.leyou.item.inter.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zqq
 * @ClassName SkuLikeVO
 * @Description
 * @date 2020/3/18-10:27
 */
@Data
@ApiModel(value = "SkuLikeVO",description = "结果类")
public class SkuLikeVO {

    /** skuid */
    @ApiModelProperty(value = "skuid", name = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** spuid */
    @ApiModelProperty(value = "spuid", name = "spuId")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long spuId;

    /** 商品标题 */
    @ApiModelProperty(value = "商品标题", name = "title")
    private String title;

    /** 商品图片，以逗号隔开的字符串 */
    @ApiModelProperty(value = "商品图片，以逗号隔开的字符串", name = "images")
    private String images;

    /** 商品价格 */
    @ApiModelProperty(value = "商品价格", name = "price")
    private Long price;

    /** 评价人数 */
    @ApiModelProperty(value = "评价人数", name = "assessNumber")
    private Integer assessNumber;

}
